<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>写文章 - 掘金</title>
    <link rel="icon" href="../img/juejinlogo.svg">
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../fontawesome/css/all.css">
    <link rel="stylesheet" href="../css/articlesChange.css">
    <script src="https://unpkg.com//axios@0.27.2/dist/axios.min.js"></script>
    <script src="../js/articlesChange.js"></script>

</head>

<body>
    <header>
        <div class="leftPart">
            <img src="../img/grayLogo.png" alt="">
            <img src="../img/BETA.png" alt="">
        </div>
        <div class="rightPart">
            <p class="saveMes">文章将自动保存至草稿箱</p>
            <button>草稿箱</button>
            <div class="publish">
                <button id="publish">更新</button>
                <div class="publishContainer">
                    <div class="title">发布文章</div>
                    <ul class="publishInner">
                        <li class="line1">
                            <p>分类：</p>
                            <div class="listContainer">
                                <ul class="list1">
                                    <li>后端</li>
                                    <li>前端</li>
                                    <li>Android</li>
                                    <li>iOS</li>
                                </ul>
                                <ul class="list2">
                                    <li>人工智能</li>
                                    <li>开发工具</li>
                                    <li>代码人生</li>
                                    <li>阅读</li>
                                </ul>
                            </div>
                        </li>
                        <li class="line2">
                            <p>文章封面：</p>
                            <input type="file" id="coverUrl" accept="image/jpg,image/jpeg,image/png" />
                            <div class="box">
                                <img id="show" alt="">
                                <p>+</p>
                                <p>上传封面</p>
                            </div>
                        </li>
                        <li class="line3">
                            <p>编辑摘要：</p>
                            <textarea name="" id="addBrief" cols="30" rows="10"></textarea>
                        </li>
                        <li class="line4">
                            <button class="cancel">取消</button>
                            <button class="sure">确认并更新</button>
                        </li>
                    </ul>
                </div>
            </div>
            <img class="exchange" src="../img/icon-exchange.png" alt="">
            <div class="avatar">
                <img class="avatarBtn" alt="">
                <!-- 点击头像显示隐藏菜单 -->
                <div class="hiddenFun">
                    <ul class="funList">
                        <li class="goWrite">写文章</li>
                        <li>草稿箱</li>
                    </ul>
                    <ul class="funList">
                        <li class="goUserMes">我的主页</li>
                        <li>我喜欢的</li>
                        <li>我的优惠劵</li>
                        <li>标签管理</li>
                    </ul>
                    <ul class="funList">
                        <li>设置</li>
                        <li>关于</li>
                    </ul>
                </div>
            </div>
        </div>
    </header>

    <!-- 工具栏 -->
    <div class="toolsContainer">
        <ul class="tools">
            <li>
                <img src="../img/icon-bold.png" alt="">
            </li>
            <li>
                <img src="../img/icon-italic.png" alt="">
            </li>
            <li>
                <img src="../img/icon-underline.png" alt="">
            </li>
            <li>
                <img src="../img/icon-h1.png" alt="">
            </li>
            <li>
                <img src="../img/icon-h2.png" alt="">
            </li>
            <li>
                <img src="../img/icon-quote.png" alt="">
            </li>
            <li>
                <img src="../img/icon-highlight.png" alt="">
            </li>
            <li>
                <img src="../img/icon-code.png" alt="">
            </li>
            <li>
                <img src="../img/icon-unorderlist.png" alt="">
            </li>
            <li>
                <img src="../img/icon-orderlist.png" alt="">
            </li>
            <li>
                <img src="../img/icon-link.png" alt="">
            </li>
            <li>
                <img src="../img/icon-img.png" alt="">
            </li>
        </ul>
    </div>

    <!-- 文章标题 -->
    <div class="NotesTitle">
        <input name="" id="title" maxlength="80" rows="1" placeholder="输入标题...">
    </div>

    <!-- 文章内容 -->
    <div class="text">
        <textarea name="" id="content" cols="30" rows="10" placeholder="输入正文..."></textarea>
    </div>
</body>

</html>